package com.guodu.dao;

import java.math.BigDecimal;
import java.util.List;

import com.guodu.entity.MaterialChaoshi;
import com.guodu.entity.MaterialchaoshiStatus;
import com.guodu.entity.Units;
import com.guodu.vo.MaterialChaoshiQueryVo;

public interface MaterialChaoshiDao {
	List<MaterialChaoshi> findByVo(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units,int curPage , int pageSize);
	int findSizeByVo(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
	BigDecimal findAllMoney(MaterialChaoshiQueryVo materialChaoshiQueryVo,
			Units units);
	MaterialChaoshi findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialChaoshi entity);
	void examine(String ids,Long status);
	void update(MaterialChaoshi entity);
	void changeStatus(List<MaterialchaoshiStatus> entities);
	List<MaterialchaoshiStatus> findStatus(String id);
	List<MaterialChaoshi> findAllByVo(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
	boolean examinAll(MaterialChaoshiQueryVo materialChaoshiQueryVo,
			Units units);
	boolean huituiAll(MaterialChaoshiQueryVo materialChaoshiQueryVo,
			Units units);
	boolean shanchuAll(MaterialChaoshiQueryVo materialChaoshiQueryVo,
			Units units);
}
